<div id="contact_page" >
    <?php foreach ($contact as $value): ?>
        <div class="left-sidebar">

            <div class="contact_content">
                <div class="tell_contact">  <?php print $value->tell; ?></div>
                <div class="fax_contact">  <?php print $value->fax; ?></div>
                <div class="add_contact">  <?php print $value->add; ?></div>

            </div>
        </div>
    <?php endforeach; ?>
    <div class="right-content">
        <div class="left-column">
            <div class="prefix">
                <label class="prefix_label">Title</label>
                <br>
                <select name="prefix_id" id="prefix_id" class="form-select">
                    <option value=""></option>
                    <option value="1">Mrs.</option>
                    <option value="2">Ms.</option>
                    <option value="3">Mr.</option>
                </select>
            </div>
            <div class="name_contact">
                <label class="contact_lb">Name</label>
                <br>
                <input maxlength="64" size="30" name="name" type="text" id="first_name" class="form-text">
            </div>
            <div class="company_contact">
                <label class="contact_lb">Company</label>
                <br>
                <input maxlength="64" size="30" name="name" type="text" id="company" class="form-text">
            </div>
            <div class="email_contact">
                <label class="contact_lb">Email</label>
                <br>
                <input maxlength="64" size="30" name="name" type="text" id="email" class="form-text">
            </div>
        </div>

        <div class="mid-column">
            <div class="country_contact">
                <label class="country_label">Country</label>
                <br> 
                <select  id="country_id" class="form-select">
                    <option value="none">- select -</option>
                    <?php foreach ($countries as $value): ?>
                        <?php echo '<option value=' . $value['code'] . '>' . $value['name'] . '</option>'; ?>
                    <?php endforeach; ?>
                </select>
            </div>
            <div class="phone_contact">
                <label class="contact_lb">Phone</label>
                <br>
                <input maxlength="64" size="30" name="name" type="text" id="phone" class="form-text">
            </div>
            <div class="job_position_contact">
                <label class="contact_lb">Job Position</label>
                <br>
                <input maxlength="64" size="30" name="name" type="text" id="job_position" class="form-text">
            </div>
            <div class="subject_contact">
                <label class="contact_lb">Subject</label>
                <br>
                <input maxlength="64" size="30" name="name" type="text" id="subject" class="form-text">
            </div>
        </div>
        <div class="left-column">
            <div class="message_contact">
                <label class="contact_lb">Message</label>
                <br>
                <div class="resizable-textarea">
                    <span>
                        <textarea cols="60" rows="3" name="message" id="message" class="form-textarea textarea-processed"></textarea>
                    </span></div>
            </div>
             <div class="captch_contact">
                <label class="contact_lb">Captch</label>
                <br>
                <input maxlength="64" size="30" name="name" type="text" id="captch" class="form-text">
            </div>
        </div>
    </div>

</div>